home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / tridr10a.zip / TRIDOOR.H < prev    next >
C/C++ Source or Header  |  1992-10-03  |  1KB  |  56 lines

  1. /*
  2.     tridoor.h - TriDoor header file
  3.     Copyright (c) 1992 By Mark Goodwin
  4. */
  5. #ifndef __TRIDOORH__
  6. #define __TRIDOORH__
  7.  
  8. #define BLACK 0
  9. #define BLUE 1
  10. #define    GREEN 2
  11. #define CYAN 3
  12. #define RED 4
  13. #define MAGENTA 5
  14. #define BROWN 6
  15. #define LIGHTGRAY 7
  16. #define DARKGRAY 8
  17. #define LIGHTBLUE 9
  18. #define LIGHTGREEN 10
  19. #define LIGHTCYAN 11
  20. #define LIGHTRED 12
  21. #define LIGHTMAGENTA 13
  22. #define YELLOW 14
  23. #define WHITE 15
  24.  
  25. extern char TDUserName[81], TDUserFirstName[81], TDDoorName[81];
  26. extern char TDCityState[81], TDPhoneNumber[81], TDBBSName[81];
  27. extern char TDSysopName[81];
  28. extern int TDAnsiColor, TDSecurityLevel, TDMinutesLeft;
  29. extern int TDSerialPort;
  30. extern long TDBaudRate, TDLockedBaudRate;
  31.  
  32. #ifdef __cplusplus
  33. extern "C" {
  34. #endif
  35. void TDClrScr(void);
  36. void TDDisplayFile(char *);
  37. void TDDisplayBreakableFile(char *);
  38. int TDGetBackground(void);
  39. int TDGetForeground(void);
  40. int TDGetch(void);
  41. char *TDGets(char *);
  42. void TDGotoXY(int, int);
  43. void TDInitialize(void);
  44. int TDKeyPressed(void);
  45. int TDPrintf(char *, ...);
  46. void TDPutch(int);
  47. void TDPuts(char *);
  48. void TDSetColor(int, int);
  49. int TDTimeLeft(void);
  50. int TDTimeOn(void);
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54.  
  55. #endif
  56.